{% load static %}
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0" name="viewport">
  <title>{% block title %} {% endblock %}</title>
  <meta name="description" content="">
  <meta name="keywords" content="">

  <!-- Favicons -->
  <link href="{% static 'img/favicon.png' %}" rel="icon">
  <link href="{% static 'img/apple-touch-icon.png' %}" rel="apple-touch-icon">

  <!-- Fonts -->
  <link href="https://fonts.googleapis.com" rel="preconnect">
  <link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">

  <!-- Vendor CSS Files -->
  <link href="{% static 'vendor/bootstrap/css/bootstrap.min.css' %}" rel="stylesheet">
  <link href="{% static 'vendor/bootstrap-icons/bootstrap-icons.css' %}" rel="stylesheet">
  <link href="{% static 'vendor/aos/aos.css' %}" rel="stylesheet">
  <link href="{% static 'vendor/glightbox/css/glightbox.min.css' %}" rel="stylesheet">
  <link href="{% static 'vendor/swiper/swiper-bundle.min.css' %}" rel="stylesheet">

  <!-- Main CSS File -->
  <link href="{% static 'css/main.css' %}" rel="stylesheet">
  <script src="https://cdn.staticfile.net/Chart.js/3.9.1/chart.js"></script>

  <!-- =======================================================
  * Template Name: QuickStart
  * Template URL: https://bootstrapmade.com/quickstart-bootstrap-startup-website-template/
  * Updated: Aug 07 2024 with Bootstrap v5.3.3
  * Author: BootstrapMade.com
  * License: https://bootstrapmade.com/license/
  ======================================================== -->
</head>
<body class="{% block BodyClass %}index-page{% endblock %}">
 <header id="header" class="header d-flex align-items-center fixed-top">
    <div class="container-fluid container-xl position-relative d-flex align-items-center">

      <a href="#" class="logo d-flex align-items-center me-auto">
        <img src="{% static 'img/logo11.png' %}" alt="">
        <h1 class="sitename">PaSystem</h1>
      </a>

      <nav id="navmenu" class="navmenu">
        <ul>
          <li><a href="{% url 'index' %}#hero" class="{% block homeactive %}{% endblock %}">首页</a></li>
          <li><a href="{% url 'index' %}#about">产品</a></li>
          <li><a href="{% url 'index' %}#features">特点</a></li>
<!--          <li><a href="#services">Services</a></li>-->
          <li><a href="{% url 'index' %}#pricing">价格</a></li>
          {% if username %}
            <li class="dropdown"><a href="#"><span>{{username}}</span> <i class="bi bi-chevron-down toggle-dropdown"></i></a>
              <ul>
                <li><a href="#">个人中心</a></li>
                <li><a href="{% url 'InformationBox' %}">信箱</a></li>
                <li><a href="{% url 'logout' %}">退出登录</a></li>
              </ul>
            </li>
          {% else %}
            <li><a href="{% url 'login' %}">请登录</a></li>
          {% endif %}
<!--          <li><a href="#contact">Contact</a></li>-->
        </ul>
        <i class="mobile-nav-toggle d-xl-none bi bi-list"></i>
      </nav>

      <a class="btn-getstarted" href="{% url 'service' %}">Demo</a>

    </div>
  </header>
{% block contect %}

{% endblock %}


<footer id="footer" class="footer position-relative light-background">
    <div class="container footer-top">
      <div class="row gy-4">
        <div class="col-lg-4 col-md-6 footer-about">
          <a href="#" class="logo d-flex align-items-center">
            <span class="sitename">PaSystem</span>
          </a>
          <div class="footer-contact pt-3">
            <p>北京建筑大学</p>
            <p>大兴区永源路15号</p>
            <p>北京市</p>
<!--            <p class="mt-3"><strong>Phone:</strong> <span>+86 13757471462</span></p>-->
<!--            <p><strong>Email:</strong> <span></span></p>-->
          </div>
          <div class="social-links d-flex mt-4">
            <a href=""><i class="bi bi-twitter-x"></i></a>
            <a href=""><i class="bi bi-facebook"></i></a>
            <a href=""><i class="bi bi-instagram"></i></a>
            <a href=""><i class="bi bi-linkedin"></i></a>
          </div>
        </div>

        <div class="col-lg-2 col-md-3 footer-links">
          <h4>其他链接</h4>
          <ul>
            <li><a href="#">待拓展其他业务</a></li>
          </ul>
        </div>

        <div class="col-lg-2 col-md-3 footer-links">
          <h4>服务</h4>
          <ul>
            <li><a href="#">API接口调用</a></li>
          </ul>
        </div>

        <div class="col-lg-4 col-md-12 footer-newsletter">
          <h4>最新消息</h4>
          <p>如果想订阅我们，获取我们的最新消息，请输入您的邮箱</p>

          <form class="row g-3" method="post" action="#">
            <div class="col-auto">
              <label for="InputEmail" class="visually-hidden">Password</label>

              <input type="email" class="form-control" id="InputEmail" placeholder="邮箱..." name="InputEmail">

            </div>
            <div class="col-auto">
              <button type="submit" style="background-color:#2e7c90" class="btn mb-3">
                <b style="color:white;font-weight:100">确认</b>
              </button>
            </div>
          </form>
        </div>

      </div>
    </div>

    <div class="container copyright text-center mt-4">
      <span>北京建筑大学</span> <strong class="px-1 sitename">小帕系统</strong><span>PASystem</span></p>
      <div class="credits">
        <!-- All the links in the footer should remain intact. -->
        <!-- You can delete the links only if you've purchased the pro version. -->
        <!-- Licensing information: https://bootstrapmade.com/license/ -->
        <!-- Purchase the pro version with working PHP/AJAX contact form: [buy-url] -->
        <strong class="px-0 shadow-sm">让生命不再错过，让每一个少年都能看到美好的未来。</a>
      </div>
    </div>
  </footer>

  <!-- Scroll Top -->
  <a href="#" id="scroll-top" class="scroll-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>

  <!-- Preloader -->
  <div id="preloader"></div>

  <!-- Vendor JS Files -->
  <script src="{% static 'vendor/bootstrap/js/bootstrap.bundle.min.js' %}"></script>
  <script src="{% static 'vendor/php-email-form/validate.js' %}"></script>
  <script src="{% static 'vendor/aos/aos.js' %}"></script>
  <script src="{% static 'vendor/glightbox/js/glightbox.min.js' %}"></script>
  <script src="{% static 'vendor/swiper/swiper-bundle.min.js' %}"></script>

  <!-- Main JS File -->
  <script src="{% static 'js/main.js' %}"></script>

</body>

</html>